<template>
  <div class="halfCircle">
    <h2>实现左右两个半圆</h2>
    <div class="background">
      <ul>
        <li>
          <div class="tag">百果园</div>
        </li>
        <li>
          <div class="tag">奈雪的茶</div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script></script>
<style scoped>
.halfCircle {
  padding: 20px;
}
.background {
  background: #f77;
  padding: 20px;
  width: 300px;
}
ul {
  list-style: none;
}
ul li {
  width: 260px;
  height: 100px;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 10px;
  text-align: center;
}
li:before,
li:after {
  z-index: 99;
  background: #f77;
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
li:before {
  -webkit-transform: translate(-5px, 45px);
  transform: translate(-5px, 45px);
}
li:after {
  -webkit-transform: translate(255px, 15px);
  transform: translate(255px, 15px);
}
</style>
